<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    html {
      --themeColor: red;
      --blur: 20;
      --padding: 20;
    }

    img {
      background-color: var(--themeColor);
      filter: blur(var(--blur));
      padding: var(--padding);
    }

    input {
      width: 180px;
    }

    .text {
      color: var(--themeColor);
    }
  </style>
</head>

<body>
  <div>
    <span class="text">sjoweuwewewe</span>
    <input type="range" name='blur' min="0" max="25" value="10" data-sizing='px'>
    <input type="range" name="padding" min="0" max="180" value="20" data-sizing="px">
    <input type="color" name="themeColor">


  </div>
  <img src="https://source.unsplash.com/7bwQXzbF6KE/800x500">
  <script>

    const inputAll = document.querySelectorAll('input');
    function handle() {
      const sufflx = this.dataset.sizing || "";
      document.documentElement.style.setProperty(`--${this.name}`, this.value + sufflx);
    }
    inputAll.forEach(dom => {
      dom.addEventListener('change', handle, false)
      dom.addEventListener('mousemove', handle, false)
    })
  </script>

</body>

</html>